/*
 * ContactDaoIfc.java
 *
 * Created on September 24, 2008, 6:26 PM
 *
 * To change this template, choose Tools | Template Manager
 * and open the template in the editor.
 */

package org.vacuela.publishmx.dal;

import java.util.List;
import org.vacuela.publishmx.domains.Contact;
import org.vacuela.publishmx.domains.ContactNumber;

/**
 *
 * @author nestor.carrasco
 */
public interface ContactDaoIfc {
    public boolean saveUpdate(Contact contact);
    
    public List getContactByUserId(Integer userId);
    public List getContactByGroupId(Integer groupId);
    
    public List getContactList();
    
    public Contact getContact(Integer contactId);
    
    public List findContactByName(String name);
    public boolean deleteContact(Integer contactId);
    
    public List<ContactNumber> getPhoneNumbers(String[] contactIds);
        

    
}
